export const Token = 'GEEK_TOKEN'

export function getToken() {
  return localStorage.getItem(Token)
}

export function setToken(token) {
  localStorage.setItem(Token, token)
}

export function removeToken() {
  localStorage.removeItem(Token)
}

export function hasToken() {
  return !!localStorage.getItem(Token)
}
